using KAs.StartUp;

var builder = WebApplication.CreateBuilder(args);

builder.Services.ConfigureServices(builder.Configuration);

var app = builder.Build();
app.Configure(app.Environment, app.Services, new AppConfig()
{
    ShowSwaggerUI = true,
    UseHttpsRedirection = true
});

app.Run();
